package com.shop.mapper;

import com.shop.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface OrderMapper {
    Order findById(Long id);
    
    List<Order> findByUserId(Long userId);
    
    List<Order> findByShopId(Long shopId);
    
    void insert(Order order);
    
    void update(Order order);
} 